package com.bub.pay.core.enums;

/**
 * 用户锁定类型
 * @author Leo
 *
 */
public enum LockUserEnum {

    LOCK_PASS(1, "密码错误"),
    LOCK_PAY(2, "支付密码错误"),
    LOCK_GOOGLE(3, "谷歌验证码错误"),
    LOCK_OTHER(4, "其他原因");

    /**
     * 锁定类型
     */
    private int type;

    /**
     * 锁定名称
     */
    private String name;

    LockUserEnum(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}